package com.angel.web.health;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.angel.provider.health.BuzExaminationParsingProvider;

@Controller
@RequestMapping("/parsing")
public class BuzExaminationParsingController {

	@Autowired
	private BuzExaminationParsingProvider provider;
	
//	@RequestMapping(value="/index",produces="application/json; charset=UTF-8")
//	@ResponseBody
//	public String index(BuzExaminationParsingWithBLOBs parsing,HttpServletRequest request){
//		List<BuzExaminationParsingWithBLOBs> list = provider.findAll(parsing);
//		request.setAttribute("list", list);
//		return JsonUtil.toJson(list);
//	}
//	
//	@RequestMapping("/delete")
//	@ResponseBody
//	public String delete(BuzExaminationParsingWithBLOBs parsing){
//		provider.delete(parsing);
//		return "";
//	}
//	
//	@RequestMapping("/deleteAll")
//	public String deleteAll(){
//		provider.deleteAll();
//		return "";
//	}
//	
//	@RequestMapping("/update")
//	@ResponseBody
//	public String update(BuzExaminationParsingWithBLOBs parsing){
//		provider.update(parsing);
//		return "";
//	}
//	
//	@RequestMapping("/find")
//	@ResponseBody
//	public String findById(String id){
//		BuzExaminationParsingWithBLOBs parsing = provider.findById(id);
//		return JsonUtil.toJson(parsing);
//	}
}
